fix(job-orchestration): Move garbage collector recovery file to temporary directory (fixes #1823).#1834
fix(job-orchestration): Move garbage collector recovery file to temporary directory (fixes #1823).#1834junhaoliao wants to merge 8 commits intoy-scope:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (2)
WalkthroughThe archive garbage collector's recovery file location is changed from the logs directory to the temporary directory. Deployment manifests (Helm and Docker Compose) are updated to mount the tmp volume at the new path, and the Helm chart version is incremented. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related issues
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
# Conflicts: # tools/deployment/package-helm/Chart.yaml # tools/deployment/package-helm/templates/garbage-collector-deployment.yaml
|
Since "using tmpfs instead of binding mount" is a different requirement from changing the GC file list directory to use clpConfig.tmp_directory, i believe that change should be submitted in a separate PR. |
Description
This PR moves the garbage collector recovery file from the logs directory to the temporary directory, addressing the issues raised in #1823.
The archive_garbage_collector.py was writing its recovery file to clp_config.logs_directory, which:
This PR:
Checklist
breaking change.
Validation performed
Confirmed that the garbage-collector service has the tmp volume * mounted in Docker Compose
Docker Compose deployment
All services started successfully including garbage-collector with the tmp volume mounted.
Helm chart deployments
Single-node setup
Multi-node setup with shared worker nodes
Multi-node setup with dedicated worker nodes
Summary by CodeRabbit
Release Notes